<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>微信聊天页面</title>
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
        <link rel="stylesheet" type="text/css" href="css/common.css" />
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f5f5f5;
        }
        .chat-container {
            display: flex;
            flex-direction: column;
            height: 100vh;
        }
        .header {
            background-color: #1aad19;
            color: white;
            padding: 10px;
            font-size: 18px;
        }
        .messages {
            flex: 1;
            overflow-y: auto;
            padding: 10px;
        }
        .message {
            display: flex;
            margin-bottom: 10px;
        }
        .message-left {
            justify-content: flex-start;
        }
        .message-right {
            justify-content: flex-end;
        }
        .message-text {
            flex: 1;
            padding: 5px;
            border-radius: 5px;
            background-color: #e0e0e0;
        }
        .message-left .message-text {
            margin-right: 10px;
        }
        .message-right .message-text {
            margin-right: 10px;
        }
        .message-time {
            font-size: 12px;
            color: #999;
        }
    </style>
</head>
<body>
    <div class="chat-container">
        <div class="header">与张三的聊天</div>
        <div class="messages">
            <div class="message message-left">
                <div class="message-text">你好，这是一条来自左侧的消息。</div>
                <div class="message-time">10:00</div>
            </div>
            <div class="message message-right">
                <div class="message-text">你好，这是一条来自右侧的消息。</div>
                <div class="message-time">10:01</div>
            </div>
        </div>
    </div>
                <script type="text/javascript" src="js/jquery.min.js"></script> 
                <script type="text/javascript" src='js/snow.js'></script>
</body>
</html>
